package edu.krazy.server;

public interface IOnClientMessage {
	void broadcastObject(KrazyClient from, int msgType, Object object);
	void broadcastString(KrazyClient from, int msgType, String object);
	void broadcastMessageType(KrazyClient from, int msgType);
	void createLobby(KrazyClient creator, String gameName);
	void startGame();
	void readyGame();
	void readyPlayer(KrazyClient client);
	void addClient(KrazyClient client);
	void joinGame(KrazyClient from, String gameName);
	void leaveGame(KrazyClient client);
	void clientDisconnected(KrazyClient client);
	void changeGameState(KrazyClient admin, int newState);
	void destroyGame(KrazyGame game);
}
